<?php foreach( $sary as $s) : ?>
<a href="<?php echo site_url('album/sary/asehoy/' . $s['sid'])?>" class="thumbnail"><img src="<?php echo $s['s'] ?>"  border="0"/></a>
<?php endforeach;?>
<div id="pagination">
<?php echo $pager ?>
</div>

